feat: remove InputStream overloads and add new optional fields#77
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
feat: remove InputStream overloads and add new optional fields#77fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
Remove public InputStream-based parserCreateJob methods from RawLabReportClient, add lab_account_id and lab_slug fields to lab test creation, and update PSC appointment requests to support appointment notes. These changes provide better lab provider integration while simplifying the file upload API surface. Key changes: - Remove four InputStream overload methods from parserCreateJob - Add lab_account_id and lab_slug optional fields to CreateLabTestRequest - Add lab_slug parameter to LabTestsGetMarkersRequest - Update LabTestsGetPscAppointmentAvailabilityRequest lab field to use enum - Add appointment_notes field to RequestAppointmentRequest 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version Bump: Removed public parserCreateJob methods that accept InputStream parameters, which will cause existing callers to get compilation errors.
logging()method onClientOptions.Builder. Additionally, SSE streaming capabilities have been enhanced with event-level discrimination support via newfromSseWithEventDiscrimination()methods on theStreamclass.parserCreateJobmethods that acceptedInputStreamparameters have been removed fromRawLabReportClient. Use theFile-based overloads instead. New optional fields are now available for lab test creation includinglabAccountIdandlabSlugfor better lab provider integration.jobIdfield has been removed fromParsingJob- this field is no longer available. Thestatusfield inGetOrderTransactionResponsenow returns anOrderTransactionStatusenum instead of a String. New optional fields added:statusDetailonClientFacingOrderEvent,orderTransactiononLabResultsRaw, andaccessNoteson all PatientAddress types for enhanced functionality.CompendiumClientavailable for searching and converting exercise data. Useclient.compendium().search()to find exercises andclient.compendium().convert()to transform exercise formats.LabAccountClient.getTeamLabAccounts()method. Added compendium search functionality withConvertCompendiumBodyandSearchCompendiumBodyrequest types for discovering and converting lab test information across laboratory providers.RawLabAccountClient.getTeamLabAccounts()method, which allows filtering by account ID and status. Lab test orders can now include clinical notes via theclinicalNotesparameter inCreateOrderRequestCompatible.additionalProperty()andadditionalProperties()methods. These methods enable adding custom key-value pairs to requests at build time for enhanced flexibility.additionalProperty()andadditionalProperties()are now available on request builders, allowing custom key-value pairs to be added to API requests for enhanced flexibility.additionalProperty()andadditionalProperties()methods are available on all vitals request classes, allowing you to pass custom key-value pairs when making vitals API calls.additionalProperty()andadditionalProperties()methods available on all vitals request builders, enabling custom properties to be added to API requests.additionalProperty()andadditionalProperties()are now available on request classes, allowing you to include custom fields in API requests. TheAppointmentBookingRequestclass also now supports an optionalappointmentNotesfield.CanonicalCandidatetype available for accessing biomarker metadata including LOINC codes, display names, confidence scores, and provider mappings. Enhanced builders now support dynamic property handling withadditionalProperty()andadditionalProperties()methods.appointmentNotesfield onClientFacingAppointment. Additional builder convenience methods have been added across multiple types for easier programmatic construction.additionalProperty(key, value)to set individual properties oradditionalProperties(map)to set multiple properties at once.additionalProperty()andadditionalProperties()methods are available on builders for diagnosis information, health metrics, and other data types to support extensible JSON handling.additionalProperty()andadditionalProperties()builder methods available on multiple ClientFacing data type builders. These methods allow setting custom key-value pairs during object construction for enhanced extensibility.additionalProperty()andadditionalProperties()builder methods available on all client-facing model types to support custom field extensions.additionalProperty()andadditionalProperties()methods available on all builder interfaces. These methods allow setting custom properties on data objects during construction.additionalProperty()andadditionalProperties()methods. This enables handling of dynamic API response fields not explicitly defined in the schema.additionalProperty()andadditionalProperties()methods, allowing dynamic extension of data models at runtime. A newGetTeamLabAccountsResponsetype is also available for lab account operations.additionalProperty()andadditionalProperties()are now available on all grouped data type builders, allowing custom properties to be set on response objects in a fluent manner.additionalProperty()andadditionalProperties()available on all grouped data type builders (GroupedIge, GroupedSteps, GroupedStressLevel, etc.) for setting custom properties on response objects.additionalProperty()andadditionalProperties()methods are available on builders for LoincMatch, Macros, MealColumnExpr, and other types. A newPerLabCandidatetype has also been added.RelatedCandidate,SearchCompendiumResponse, andSearchModetypes for advanced search functionality. Result metadata now includes an optionalgenderfield with the newResultMetadataGenderenum supporting male, female, and other values.